#ifndef GRAPHICS_TILEGROUP_H
#define GRAPHICS_TILEGROUP_H

#include <types.hpp>
#include <glc/model/boundingbox.h>
//#include <demo/map.h>

namespace Graphics {

class TileGroup
{
public:
    TileGroup(uint minX, uint minY, uint maxX, uint maxY);

    uint minX() const;
    uint maxX() const;
    uint minY() const;
    uint maxY() const;

    void renewBox();

private:
    inline void renewBoxImpl(uint minX, uint minY, uint maxX, uint maxY);

    GLC::BoundingBox _box;
    //const Demo::Map *_map;
};

} // namespace Graphics

#endif // GRAPHICS_TILEGROUP_H
